﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Collections;

using Inbox.Domain;

namespace Inbox.Bussiness
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IPlanningService" in both code and config file together.
    [ServiceContract]
    public interface IPlanningService
    {
        [OperationContract]
        IList<PlanningContract> GetListPlanning();

        [OperationContract]
        PlanningContract GetPlanning(Guid planID);

        [OperationContract]
        IList<MachineContract> GetMachineLinked(Guid planID);

        [OperationContract]
        IList<MachineContract> GetMachineForNew();

        [OperationContract]
        bool SavePlan(string desp, string title, string responsiblePerson, DateTime fromDate, DateTime toDate, int planStatus, int planType, IDictionary<Guid, string> ListMachine);

        [OperationContract]
        bool DeletePlan(Guid planID);

    }
}
